package com.qyhl.module_practice.substreet.trend;


import com.qyhl.webtv.commonlib.entity.civilized.PracticeTrendBean;

import java.util.List;

public class PracticeTrendPresenter implements PracticeTrendContract.PracticeTrendPresenter {
    private PracticeTrendContract.PracticeTrendView mView;
    private PracticeTrendModel mModel;

    PracticeTrendPresenter(PracticeTrendContract.PracticeTrendView mView) {
        this.mView = mView;
        this.mModel = new PracticeTrendModel(this);
    }

    @Override
    public void getList(String orgId, String page, boolean isTeam) {
        mModel.getList(orgId, page,isTeam);
    }

    @Override
    public void setList(List<PracticeTrendBean> beanList, boolean isMore) {
        mView.setList(beanList, isMore);
    }

    @Override
    public void setError(String msg, boolean isMore) {
        mView.setError(msg, isMore);
    }
}
